package com.kd.juhaowan.view;

import android.content.Context;
import android.util.AttributeSet;


import com.kd.juhaowan.http.model.RecordModel;

import java.util.List;


/**
 * 作者：liuwanlin
 * 创建日期：16/7/1
 */
public class FulliScollTextView extends BaseScollTextView<RecordModel> {
    public FulliScollTextView(Context context) {
        super(context);
    }

    public FulliScollTextView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public String getItemText(List<RecordModel> data, int postion) {
        RecordModel model = data.get(postion);
        String text = "玩家<font color='#FF4652'>"+model.getNickname()+"</font>领取了<font color='#FF4652'>"+model.getName()+"</font>礼包";
        return text;
    }
}
